/*span.function:hover {*/
/*    color: #00adeb;*/
/*    text-decoration: underline;*/
/*}*/

/*#submit-commit {*/
/*    float: right;*/
/*}*/

/*.reply-submit {*/
/*    float: right;*/
/*}*/

/*.modal-dialog {*/
/*    width: 200px;*/
/*    height: 350px;*/
/*    margin: 0 auto;*/
/*}*/

/*button.add-category:hover {*/
/*    color: #00adeb;*/
/*}*/

/*button.reply-submit {*/
/*    float: right;*/
/*}*/


/*.no-commits {*/
/*    font-size: 25px;*/
/*    color: rgba(0, 0, 0, 0.6);*/
/*}*/

/*.content {*/
/*    transform: translateX(45px);*/
/*}*/

/*ul li {*/
/*    list-style: none;*/
/*}*/

/*.recover-region {*/
/*    border-radius: 10px;*/
/*    background-color: rgba(0, 0, 0, 0.1);*/
/*}*/

/*hr {*/
/*    width: 100%;*/
/*}*/


.name {
    color: #FB7299;
    font-size: 14px;
    font-weight: bold;
    line-height: 2em;
}

/*.text {*/
/*    color: #333;*/
/*    padding: 10px 0;*/
/*}*/

/*.time {*/
/*    color: #999;*/
/*    font-size: 12px;*/
/*}*/

/*span.function {*/
/*    color: #999;*/
/*    font-size: 12px;*/
/*}*/

/*.container-commit {*/
/*    width: 60%;*/
/*    margin: 20px 10px;*/
/*}*/

/*.delete-article {*/
/*    float: right;*/
/*}*/

a {
    text-align: left;
    text-decoration: none;
}

/* 本人标识牌样式 */
.myself-badge {
    display: inline-block;
    padding: 2px 5px;
    font-size: 12px;
    background-color: #659cd8;
    /* 蓝色背景 */
    color: white;
    /* 白色文字 */
    border-radius: 3px;
    /*width: 40px;*/
    height: 20px;
}

/* 作者标识牌样式 */
.author-badge {
    display: inline-block;
    padding: 2px 5px;
    font-size: 12px;
    background-color: #4CAF50;
    /* 绿色背景 */
    color: white;
    /* 白色文字 */
    border-radius: 3px;
    /*width: 35px;*/
    height: 20px;
}

/*.no-login-section {*/
/*    width: 100%;*/
/*    height: 150px;*/
/*    font-size: 20px;*/
/*    background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);*/
/*}*/

body {
    font-family: 'Arial', sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 0;
}

.comment-section {
    width: 80%;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.comment-section h2 {
    font-size: 28px;
    color: #333;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.comment-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.comment-box textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s;
}

.comment-box textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.submit-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

.comments {
    margin-top: 30px;
}

.comment {
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.comment-header {
    /*display: flex;*/
    /*justify-content: space-between;*/
    margin-bottom: 10px;
}

/*.user-name {*/
/*    font-weight: bold;*/
/*    font-size: 16px;*/
/*    color: #333;*/
/*}*/

.comment-time {
    font-size: 12px;
    color: #888;
}

.comment-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-left: 50px;
}

.reply-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: white;
    color: #008CBA;
    border: 1px solid #008CBA;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.reply-btn:hover {
    background-color: #008CBA;
    color: white;
}


.delete-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: white;
    color: red;
    /*border: none;*/
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    border: 1px solid red;
}

.delete-btn:hover {
    background-color: red;
    color: white;
}

.reply-box {
    margin-top: 15px;
    display: none;
    flex-direction: column;
    padding-top: 10px;
    border-top: 1px solid #f1f1f1;
}

.reply-box textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    resize: vertical;
    min-height: 60px;
}

.submit-reply-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.submit-reply-btn:hover {
    background-color: #45a049;
}

.reply-comment {
    margin-top: 20px;
    padding: 15px;
    background-color: #f1f1f1;
    border-left: 4px solid #4CAF50;
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.reply-comment .comment-header {
    margin-bottom: 8px;
}

.reply-comment .comment-content {
    margin-left: 50px;
    font-size: 13px;
    color: #555;
}
